using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class web_Controls_ctrl_vl_left_hot_jobs : System.Web.UI.UserControl
{
    Common _common = null;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            _common = new Common();
            LoadKDT();
        }
    }
    void LoadKDT()
    {
        string _sql = "select A.ma_khoa_dt, A.ten_khoa_dt, B.ten_nganh_kd from DaoTao_khoa_dao_tao as A inner join DanhMuc_nganh_kinh_doanh as B on A.ma_nganh_dt = B.ma_nganh_kd order by A.ngay_tao desc";
        DataSet _ds = _common.ExeceuteDataset(_sql);
        rpt_khoadaotao.DataSource = _ds;
        rpt_khoadaotao.DataBind();
    }
}
